using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace Presentation
{
    public partial class MainGUI : Form
    {
        public MainGUI()
        {
            InitializeComponent();
        }

        private void emmployeeToolStripMenuItem_Click(object sender, EventArgs e)
        {
            foreach (Form form in this.MdiChildren)
            {
                if (form.Name.Equals("EmployeeForm"))
                {
                    form.Close ();
                }
            }
            EmployeeGUI frm = new EmployeeGUI();
            frm.MdiParent = this;
            frm.Show();
        }
    }
}